package com.carlo.bean;

/**
 * 
* @ClassName: MailCfg 
* @Description: 邮件基础配置信息
* @author carlo
* @date 2018年2月24日 下午5:35:42
 */
public class MailCfg {
	
	public String server_name; 				//服务器名称
	public String mail_addr; 				//邮件地址
	public String protocol_type; 			//协议类型：IMAP、SMTP、EXCHANGE
	public Integer port; 					//端口
	public String account; 					//帐号
	public String pwd; 						//密码
	
	public MailCfg() {}
	
	public MailCfg(String server_name, String account, String pwd) {
		this.server_name = server_name;
		this.account = account;
		this.pwd = pwd;
	}
	
	public MailCfg(String server_name, String account, String pwd , Integer port) {
		this.server_name = server_name;
		this.account = account;
		this.pwd = pwd;
		this.port = port;
	}

	public String getServer_name() {
		return server_name;
	}
	public void setServer_name(String server_name) {
		this.server_name = server_name;
	}
	public String getMail_addr() {
		return mail_addr;
	}
	public void setMail_addr(String mail_addr) {
		this.mail_addr = mail_addr;
	}
	public String getProtocol_type() {
		return protocol_type;
	}
	
	public void setProtocol_type(String protocol_type) {
		this.protocol_type = protocol_type;
	}
	public Integer getPort() {
		return port;
	}
	public void setPort(Integer port) {
		this.port = port;
	}
	public String getAccount() {
		return account;
	}
	public void setAccount(String account) {
		this.account = account;
	}
	public String getPwd() {
		return pwd;
	}
	public void setPwd(String pwd) {
		this.pwd = pwd;
	}
	
}
